package com.fuxi.cloud.desreport.entity;

import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * JimuReportDictItem
 *
 * @Author: 扫地僧
 * @CreateTime: 2021-05-03
 */
public class JimuReportDictItem implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String dictId;
    @Excel(
            name = "字典项文本",
            width = 20.0D
    )
    private String itemText;
    @Excel(
            name = "字典项值",
            width = 30.0D
    )
    private String itemValue;
    @Excel(
            name = "描述",
            width = 40.0D
    )
    private String description;
    @Excel(
            name = "排序",
            width = 15.0D,
            type = 4
    )
    private Integer sortOrder;
    private Integer status;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;

    public JimuReportDictItem() {
    }

    public String getId() {
        return this.id;
    }

    public String getDictId() {
        return this.dictId;
    }

    public String getItemText() {
        return this.itemText;
    }

    public String getItemValue() {
        return this.itemValue;
    }

    public String getDescription() {
        return this.description;
    }

    public Integer getSortOrder() {
        return this.sortOrder;
    }

    public Integer getStatus() {
        return this.status;
    }

    public String getCreateBy() {
        return this.createBy;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public String getUpdateBy() {
        return this.updateBy;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public JimuReportDictItem setId(String id) {
        this.id = id;
        return this;
    }

    public JimuReportDictItem setDictId(String dictId) {
        this.dictId = dictId;
        return this;
    }

    public JimuReportDictItem setItemText(String itemText) {
        this.itemText = itemText;
        return this;
    }

    public JimuReportDictItem setItemValue(String itemValue) {
        this.itemValue = itemValue;
        return this;
    }

    public JimuReportDictItem setDescription(String description) {
        this.description = description;
        return this;
    }

    public JimuReportDictItem setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
        return this;
    }

    public JimuReportDictItem setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public JimuReportDictItem setCreateBy(String createBy) {
        this.createBy = createBy;
        return this;
    }

    public JimuReportDictItem setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public JimuReportDictItem setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
        return this;
    }

    public JimuReportDictItem setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    @Override
    public String toString() {
        return "JimuReportDictItem(id=" + this.getId() + ", dictId=" + this.getDictId() + ", itemText=" + this.getItemText() + ", itemValue=" + this.getItemValue() + ", description=" + this.getDescription() + ", sortOrder=" + this.getSortOrder() + ", status=" + this.getStatus() + ", createBy=" + this.getCreateBy() + ", createTime=" + this.getCreateTime() + ", updateBy=" + this.getUpdateBy() + ", updateTime=" + this.getUpdateTime() + ")";
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof JimuReportDictItem)) {
            return false;
        } else {
            JimuReportDictItem var2 = (JimuReportDictItem)o;
            if (!var2.canEqual(this)) {
                return false;
            } else {
                label143: {
                    Integer var3 = this.getSortOrder();
                    Integer var4 = var2.getSortOrder();
                    if (var3 == null) {
                        if (var4 == null) {
                            break label143;
                        }
                    } else if (var3.equals(var4)) {
                        break label143;
                    }

                    return false;
                }

                Integer var5 = this.getStatus();
                Integer var6 = var2.getStatus();
                if (var5 == null) {
                    if (var6 != null) {
                        return false;
                    }
                } else if (!var5.equals(var6)) {
                    return false;
                }

                String var7 = this.getId();
                String var8 = var2.getId();
                if (var7 == null) {
                    if (var8 != null) {
                        return false;
                    }
                } else if (!var7.equals(var8)) {
                    return false;
                }

                label122: {
                    String var9 = this.getDictId();
                    String var10 = var2.getDictId();
                    if (var9 == null) {
                        if (var10 == null) {
                            break label122;
                        }
                    } else if (var9.equals(var10)) {
                        break label122;
                    }

                    return false;
                }

                label115: {
                    String var11 = this.getItemText();
                    String var12 = var2.getItemText();
                    if (var11 == null) {
                        if (var12 == null) {
                            break label115;
                        }
                    } else if (var11.equals(var12)) {
                        break label115;
                    }

                    return false;
                }

                String var13 = this.getItemValue();
                String var14 = var2.getItemValue();
                if (var13 == null) {
                    if (var14 != null) {
                        return false;
                    }
                } else if (!var13.equals(var14)) {
                    return false;
                }

                String var15 = this.getDescription();
                String var16 = var2.getDescription();
                if (var15 == null) {
                    if (var16 != null) {
                        return false;
                    }
                } else if (!var15.equals(var16)) {
                    return false;
                }

                label94: {
                    String var17 = this.getCreateBy();
                    String var18 = var2.getCreateBy();
                    if (var17 == null) {
                        if (var18 == null) {
                            break label94;
                        }
                    } else if (var17.equals(var18)) {
                        break label94;
                    }

                    return false;
                }

                label87: {
                    Date var19 = this.getCreateTime();
                    Date var20 = var2.getCreateTime();
                    if (var19 == null) {
                        if (var20 == null) {
                            break label87;
                        }
                    } else if (var19.equals(var20)) {
                        break label87;
                    }

                    return false;
                }

                String var21 = this.getUpdateBy();
                String var22 = var2.getUpdateBy();
                if (var21 == null) {
                    if (var22 != null) {
                        return false;
                    }
                } else if (!var21.equals(var22)) {
                    return false;
                }

                Date var23 = this.getUpdateTime();
                Date var24 = var2.getUpdateTime();
                if (var23 == null) {
                    if (var24 != null) {
                        return false;
                    }
                } else if (!var23.equals(var24)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof JimuReportDictItem;
    }

    public int hashCode() {
        boolean var1 = true;
        byte var2 = 1;
        Integer var3 = this.getSortOrder();
        int var14 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
        Integer var4 = this.getStatus();
        var14 = var14 * 59 + (var4 == null ? 43 : var4.hashCode());
        String var5 = this.getId();
        var14 = var14 * 59 + (var5 == null ? 43 : var5.hashCode());
        String var6 = this.getDictId();
        var14 = var14 * 59 + (var6 == null ? 43 : var6.hashCode());
        String var7 = this.getItemText();
        var14 = var14 * 59 + (var7 == null ? 43 : var7.hashCode());
        String var8 = this.getItemValue();
        var14 = var14 * 59 + (var8 == null ? 43 : var8.hashCode());
        String var9 = this.getDescription();
        var14 = var14 * 59 + (var9 == null ? 43 : var9.hashCode());
        String var10 = this.getCreateBy();
        var14 = var14 * 59 + (var10 == null ? 43 : var10.hashCode());
        Date var11 = this.getCreateTime();
        var14 = var14 * 59 + (var11 == null ? 43 : var11.hashCode());
        String var12 = this.getUpdateBy();
        var14 = var14 * 59 + (var12 == null ? 43 : var12.hashCode());
        Date var13 = this.getUpdateTime();
        var14 = var14 * 59 + (var13 == null ? 43 : var13.hashCode());
        return var14;
    }
}
